3.477 \(\int x^2 \sqrt {-9-4 x^2} \, dx\)

Optimal. Leaf size=54 \[ \frac {9}{32} \sqrt {-4 x^2-9} x+\frac {81}{64} \tan ^{-1}\left (\frac {2 x}{\sqrt {-4 x^2-9}}\right )+\frac {1}{4} \sqrt {-4 x^2-9} x^3 \]

[Out]

81/64*arctan(2*x/(-4*x^2-9)^(1/2))+9/32*x*(-4*x^2-9)^(1/2)+1/4*x^3*(-4*x^2-9)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {279, 321, 217, 203} \[ \frac {1}{4} \sqrt {-4 x^2-9} x^3+\frac {9}{32} \sqrt {-4 x^2-9} x+\frac {81}{64} \tan ^{-1}\left (\frac {2 x}{\sqrt {-4 x^2-9}}\right ) \]

Antiderivative was successfully verified.

[In]

Int[x^2*Sqrt[-9 - 4*x^2],x]

[Out]

(9*x*Sqrt[-9 - 4*x^2])/32 + (x^3*Sqrt[-9 - 4*x^2])/4 + (81*ArcTan[(2*x)/Sqrt[-9 - 4*x^2]])/64

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 279

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^p)/(c*(m +
n*p + 1)), x] + Dist[(a*n*p)/(m + n*p + 1), Int[(c*x)^m*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c, m}, x]
&& IGtQ[n, 0] && GtQ[p, 0] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 321

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c^(n - 1)*(c*x)^(m - n + 1)*(a + b*x^n
)^(p + 1))/(b*(m + n*p + 1)), x] - Dist[(a*c^n*(m - n + 1))/(b*(m + n*p + 1)), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rubi steps

\begin {align*} \int x^2 \sqrt {-9-4 x^2} \, dx &=\frac {1}{4} x^3 \sqrt {-9-4 x^2}-\frac {9}{4} \int \frac {x^2}{\sqrt {-9-4 x^2}} \, dx\\ &=\frac {9}{32} x \sqrt {-9-4 x^2}+\frac {1}{4} x^3 \sqrt {-9-4 x^2}+\frac {81}{32} \int \frac {1}{\sqrt {-9-4 x^2}} \, dx\\ &=\frac {9}{32} x \sqrt {-9-4 x^2}+\frac {1}{4} x^3 \sqrt {-9-4 x^2}+\frac {81}{32} \operatorname {Subst}\left (\int \frac {1}{1+4 x^2} \, dx,x,\frac {x}{\sqrt {-9-4 x^2}}\right )\\ &=\frac {9}{32} x \sqrt {-9-4 x^2}+\frac {1}{4} x^3 \sqrt {-9-4 x^2}+\frac {81}{64} \tan ^{-1}\left (\frac {2 x}{\sqrt {-9-4 x^2}}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 43, normalized size = 0.80 \[ \frac {1}{64} \left (2 x \sqrt {-4 x^2-9} \left (8 x^2+9\right )+81 \tan ^{-1}\left (\frac {2 x}{\sqrt {-4 x^2-9}}\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*Sqrt[-9 - 4*x^2],x]

[Out]

(2*x*Sqrt[-9 - 4*x^2]*(9 + 8*x^2) + 81*ArcTan[(2*x)/Sqrt[-9 - 4*x^2]])/64

________________________________________________________________________________________

fricas [C]  time = 0.79, size = 67, normalized size = 1.24 \[ \frac {1}{32} \, {\left (8 \, x^{3} + 9 \, x\right )} \sqrt {-4 \, x^{2} - 9} + \frac {81}{128} i \, \log \left (-\frac {8 \, x + 4 i \, \sqrt {-4 \, x^{2} - 9}}{x}\right ) - \frac {81}{128} i \, \log \left (-\frac {8 \, x - 4 i \, \sqrt {-4 \, x^{2} - 9}}{x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(-4*x^2-9)^(1/2),x, algorithm="fricas")

[Out]

1/32*(8*x^3 + 9*x)*sqrt(-4*x^2 - 9) + 81/128*I*log(-(8*x + 4*I*sqrt(-4*x^2 - 9))/x) - 81/128*I*log(-(8*x - 4*I
*sqrt(-4*x^2 - 9))/x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {-4 \, x^{2} - 9} x^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(-4*x^2-9)^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(-4*x^2 - 9)*x^2, x)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 41, normalized size = 0.76 \[ -\frac {\left (-4 x^{2}-9\right )^{\frac {3}{2}} x}{16}-\frac {9 \sqrt {-4 x^{2}-9}\, x}{32}+\frac {81 \arctan \left (\frac {2 x}{\sqrt {-4 x^{2}-9}}\right )}{64} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(-4*x^2-9)^(1/2),x)

[Out]

-1/16*(-4*x^2-9)^(3/2)*x-9/32*(-4*x^2-9)^(1/2)*x+81/64*arctan(2/(-4*x^2-9)^(1/2)*x)

________________________________________________________________________________________

maxima [C]  time = 2.98, size = 31, normalized size = 0.57 \[ -\frac {1}{16} \, {\left (-4 \, x^{2} - 9\right )}^{\frac {3}{2}} x - \frac {9}{32} \, \sqrt {-4 \, x^{2} - 9} x - \frac {81}{64} i \, \operatorname {arsinh}\left (\frac {2}{3} \, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(-4*x^2-9)^(1/2),x, algorithm="maxima")

[Out]

-1/16*(-4*x^2 - 9)^(3/2)*x - 9/32*sqrt(-4*x^2 - 9)*x - 81/64*I*arcsinh(2/3*x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int x^2\,\sqrt {-4\,x^2-9} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(- 4*x^2 - 9)^(1/2),x)

[Out]

int(x^2*(- 4*x^2 - 9)^(1/2), x)

________________________________________________________________________________________

sympy [C]  time = 2.76, size = 61, normalized size = 1.13 \[ \frac {i x^{5}}{\sqrt {4 x^{2} + 9}} + \frac {27 i x^{3}}{8 \sqrt {4 x^{2} + 9}} + \frac {81 i x}{32 \sqrt {4 x^{2} + 9}} - \frac {81 i \operatorname {asinh}{\left (\frac {2 x}{3} \right )}}{64} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(-4*x**2-9)**(1/2),x)

[Out]

I*x**5/sqrt(4*x**2 + 9) + 27*I*x**3/(8*sqrt(4*x**2 + 9)) + 81*I*x/(32*sqrt(4*x**2 + 9)) - 81*I*asinh(2*x/3)/64

________________________________________________________________________________________